package com.rundatop.core.util;

import com.alibaba.druid.util.StringUtils;

public class SysParamsUtil {
	
	
	/**
	 * 根据日期字符串判断当前日期是否在两者之间
	 * @param dateStr
	 * @return
	 */
	public static boolean isInDateBetween(String dateStr) {
		if(!StringUtils.isEmpty(dateStr)) {
			String [] ary= dateStr.split(";");
			if(ary.length==2) {
				return DateTimeUtil.isEffectiveDate(ary[0], ary[1]);
			}
		}
		return false;
	}
}
